package Practice17;

public class Mythread extends Thread {
    public Mythread(String name) {
        super(name);
    }

    public void run() {
        for (int i = 0; i < 20; i++) {
            System.out.println(getName() + i);
        }
    }
}
